#pragma once
#include "stdafx.h"
#include "TriggerRequirement.h"


class NegateReq: public TriggerRequirement
{
	TriggerRequirement * targetReq;

public:
	virtual bool CheckReq(EntityControl *entity);

	void subscribeParameterChanged(EntityControl *entity,TriggerRequirement*req);
	void unSubscribeParameterChanged(EntityControl *entity,TriggerRequirement*req);

	NegateReq(TriggerRequirement * req);
	~NegateReq(void);
};
